package org.nfyszny.zzzs.modules.constant;

public class ExamineConstant {

    public enum RecordType {
        ENTERPRISE_RECORD("企业", 0),
        PRODUCT_RECORD("产品", 1),
        PRODUCTION_CAPACITY_RECORD("生产能力", 2),
        PRODUCT_EXIT("产品准出", 4),
        CAPACITY_OF_EFFICACY_RECORD("供销能力", 3);
        private String msg;
        private Integer code;

        RecordType(String msg, Integer code) {
            this.msg = msg;
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public Integer getCode() {
            return code;
        }
    }

    public enum StatusEnum {
        CHECK_STATUS(0, "审批中"),
        SUCCESS_STATUS(1, "审批通过"),
        CHECK_TIMEOUT(3, "审批超时"),
        ERROR_STATUS(2, "审批失败");


        private int code;
        private String msg;

        StatusEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

    public enum ExitStatus {


        CAN_APPLY(0, "可申请"),
        APPLYING(1, "申请中"),
        YES_EXIT(2, "准出"),
        NO_EXIT(3, "不予准出");


        private int code;
        private String msg;

        ExitStatus(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
